/*
 * Copyright (C) 2001-2010 Jacek Sieka, arnetheduck on gmail point com
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
#include "..\revision.h"  // call UpdateRevision.bat (fatal error C1083: Cannot open include file: '..\revision.h': No such file or directory)
#include "..\version.h"

#ifdef _WIN64
#define A_POSTFIX64 "-x64"
#define L_POSTFIX64 L"-x64"
#else
#define A_POSTFIX64 ""
#define L_POSTFIX64 L""
#endif

#define APPNAME "ViewlinkDC++"
#define PPA_INCLUDE_SVN_REVISION

#ifdef BETA
#define L_SHORT_VERSIONSTRING L"r" L_VERSION_NUM_STR L"-beta" L_BETA_NUM_STR L_POSTFIX64
#define A_SHORT_VERSIONSTRING  "r" A_VERSION_NUM_STR  "-beta" A_BETA_NUM_STR A_POSTFIX64
#else
#define L_SHORT_VERSIONSTRING L"r" L_VERSION_NUM_STR   L_POSTFIX64
#define A_SHORT_VERSIONSTRING  "r" A_VERSION_NUM_STR   A_POSTFIX64
#endif

#define L_VERSIONSTRING L_SHORT_VERSIONSTRING L" build " L_REVISION_NUM_STR
#define A_VERSIONSTRING A_SHORT_VERSIONSTRING  " build " A_REVISION_NUM_STR

#define L_VERSIONSTRING_NO_SPACES L_SHORT_VERSIONSTRING L"-build-" L_REVISION_NUM_STR
#define A_VERSIONSTRING_NO_SPACES A_SHORT_VERSIONSTRING  "-build-" A_REVISION_NUM_STR

#ifdef UNICODE
#define T_VERSIONSTRING L_VERSIONSTRING
#define T_REVISION_NUM_STR L_REVISION_NUM_STR
#else
#define T_VERSIONSTRING A_VERSIONSTRING
#define T_REVISION_NUM_STR A_REVISION_NUM_STR
#endif
#define DCVERSIONSTRING "0.777"
#define CURRENT_STRONG_DC_VERSION "2.42" //[+]IRainman DHT hack
//#define BUILDID REVISION

// - Added these here so Lee can update them without me, Crise
#define HOMEPAGE "http://viewlinkdc.blogspot.com/"
#define HELPPAGE "http://viewlinkdc.blogspot.com/" // TODO add links by language 

#define HOMEPAGE_BLOG "http://viewlinkdc.blogspot.com/"
// #define DISCUSS "http://groups.google.com/group/viewlinkdc/"
#define DISCUSS "http://viewlinkdc.blogspot.com/"
#define SITES_VIEWLINK_TRAC "http://code.google.com/p/viewlinkdc/"

/* Update the .rc file as well... */

/**
 * @file
 * $Id: version.h 573 2011-08-04 22:33:45Z bigmuscle $
 */
